<?php
namespace Home\Model;
use Think\Model;

class AdminModel extends  Model{
    protected $_validate = array(
        array('email','email','邮箱格式不对！',1),
        array('repassword','password','确认密码不正确',0,'confirm',4),
    );
}